unit ufrmBuild;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
  cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore,
  dxSkinOffice2010Black, dxSkinOffice2010Blue, dxSkinOffice2010Silver,
  dxSkinOffice2013DarkGray, dxSkinOffice2013LightGray, dxSkinOffice2013White,
  dxSkinOffice2016Colorful, dxSkinOffice2016Dark, DBGridEhGrouping, ToolCtrlsEh,
  DBGridEhToolCtrls, DynVarsEh, Vcl.Menus, Vcl.ComCtrls, dxCore, cxDateUtils,
  cxStyles, dxSkinscxPCPainter, cxCustomData, cxFilter, cxData, cxDataStorage,
  cxNavigator, Data.DB, cxDBData, cxCheckBox, cxTextEdit, cxDBLookupComboBox,
  cxSpinEdit, cxCurrencyEdit, cxMemo, cxDropDownEdit, cxCalendar, cxDBEdit,
  cxLabel, cxGridLevel, cxGridCustomTableView, cxGridTableView,
  cxGridDBTableView, cxClasses, cxGridCustomView, cxGrid, cxMaskEdit,
  cxGroupBox, Vcl.StdCtrls, cxButtons, RzButton, RzPanel, Vcl.FileCtrl,
  RzFilSys, Vcl.Mask, RzEdit, RzLabel, EhLibVCL, GridsEh, DBAxisGridsEh,
  DBGridEh, Vcl.ExtCtrls, dxGDIPlusClasses, cxImage, Vcl.OleCtrls,
  DSOFramer_TLB, RzSplit, RzTabs, cxSplitter;

type
  TfrmBuild = class(TForm)
    Client: TRzPanel;
    Panel5: TPanel;
    cxSplitter1: TcxSplitter;
    RzPageControl1: TRzPageControl;
    TabSheet1: TRzTabSheet;
    TreeView2: TTreeView;
    TabSheet2: TRzTabSheet;
    TreeView3: TTreeView;
    TabSheet3: TRzTabSheet;
    TreeView4: TTreeView;
    TabSheet4: TRzTabSheet;
    TreeView5: TTreeView;
    TreeView1: TTreeView;
    RzPanel4: TRzPanel;
    Label1: TLabel;
    cxButton1: TcxButton;
    cxButton2: TcxButton;
    cxButton3: TcxButton;
    cxTextEdit1: TcxTextEdit;
    Panel9: TPanel;
    RzToolbar5: TRzToolbar;
    RzSpacer27: TRzSpacer;
    RzToolButton20: TRzToolButton;
    RzSpacer28: TRzSpacer;
    RzToolButton21: TRzToolButton;
    RzSpacer29: TRzSpacer;
    RzToolButton22: TRzToolButton;
    RzPageControl2: TRzPageControl;
    TabSheet5: TRzTabSheet;
    RzPanel1: TRzPanel;
    TabSheet6: TRzTabSheet;
    Panel1: TPanel;
    RzBitBtn26: TRzBitBtn;
    RzBitBtn58: TRzBitBtn;
    cxButton10: TcxButton;
    cxGroupBox2: TcxGroupBox;
    Label7: TLabel;
    Label8: TLabel;
    Label9: TLabel;
    Label11: TLabel;
    Label12: TLabel;
    Label20: TLabel;
    Label54: TLabel;
    cxTextEdit6: TcxTextEdit;
    cxTextEdit7: TcxTextEdit;
    cxDateEdit3: TcxDateEdit;
    cxDateEdit4: TcxDateEdit;
    cxTextEdit8: TcxTextEdit;
    cxTextEdit11: TcxTextEdit;
    cxButton5: TcxButton;
    cxTextEdit18: TcxTextEdit;
    WorkGrid: TcxGrid;
    tvWorkGrid: TcxGridDBTableView;
    tvWorkGridColumn16: TcxGridDBColumn;
    tvWorkGridColumn19: TcxGridDBColumn;
    tvWorkGridColumn1: TcxGridDBColumn;
    tvWorkGridColumn2: TcxGridDBColumn;
    tvWorkGridColumn3: TcxGridDBColumn;
    tvWorkGridColumn17: TcxGridDBColumn;
    tvWorkGridColumn4: TcxGridDBColumn;
    tvWorkGridColumn5: TcxGridDBColumn;
    tvWorkGridColumn18: TcxGridDBColumn;
    tvWorkGridColumn6: TcxGridDBColumn;
    tvWorkGridColumn13: TcxGridDBColumn;
    tvWorkGridColumn14: TcxGridDBColumn;
    tvWorkGridColumn15: TcxGridDBColumn;
    tvWorkGridColumn7: TcxGridDBColumn;
    tvWorkGridColumn8: TcxGridDBColumn;
    tvWorkGridColumn9: TcxGridDBColumn;
    tvWorkGridColumn10: TcxGridDBColumn;
    tvWorkGridColumn11: TcxGridDBColumn;
    tvWorkGridColumn12: TcxGridDBColumn;
    lv2: TcxGridLevel;
    RzPanel25: TRzPanel;
    Label6: TLabel;
    Label15: TLabel;
    Label19: TLabel;
    Label39: TLabel;
    Label40: TLabel;
    Label41: TLabel;
    Label42: TLabel;
    Label43: TLabel;
    Label44: TLabel;
    cxDateEdit11: TcxDateEdit;
    cxDateEdit12: TcxDateEdit;
    cxButton11: TcxButton;
    cxCurrencyEdit1: TcxCurrencyEdit;
    RzToolbar9: TRzToolbar;
    RzSpacer64: TRzSpacer;
    RzToolButton49: TRzToolButton;
    RzSpacer65: TRzSpacer;
    RzToolButton50: TRzToolButton;
    RzSpacer66: TRzSpacer;
    RzToolButton51: TRzToolButton;
    RzSpacer67: TRzSpacer;
    RzToolButton52: TRzToolButton;
    RzToolButton53: TRzToolButton;
    RzSpacer68: TRzSpacer;
    RzToolButton54: TRzToolButton;
    RzSpacer69: TRzSpacer;
    RzSpacer70: TRzSpacer;
    RzSpacer71: TRzSpacer;
    RzSpacer72: TRzSpacer;
    RzToolButton55: TRzToolButton;
    RzSpacer73: TRzSpacer;
    RzToolButton56: TRzToolButton;
    RzSpacer74: TRzSpacer;
    RzToolButton57: TRzToolButton;
    RzSpacer75: TRzSpacer;
    RzSpacer76: TRzSpacer;
    cxLabel44: TcxLabel;
    cxDateEdit31: TcxDateEdit;
    cxLabel45: TcxLabel;
    cxDateEdit32: TcxDateEdit;
    TabSheet7: TRzTabSheet;
    cxGroupBox1: TcxGroupBox;
    Label2: TLabel;
    Label3: TLabel;
    Label10: TLabel;
    Label4: TLabel;
    Label33: TLabel;
    Label5: TLabel;
    Label21: TLabel;
    Label22: TLabel;
    Label23: TLabel;
    Label24: TLabel;
    Label25: TLabel;
    Label26: TLabel;
    Label59: TLabel;
    cxTextEdit2: TcxTextEdit;
    cxTextEdit3: TcxTextEdit;
    cxButton4: TcxButton;
    cxDateEdit1: TcxDateEdit;
    cxDateEdit2: TcxDateEdit;
    cxTextEdit5: TcxTextEdit;
    cxComboBox1: TcxComboBox;
    cxComboBox3: TcxComboBox;
    cxComboBox4: TcxComboBox;
    cxComboBox5: TcxComboBox;
    cxComboBox6: TcxComboBox;
    cxComboBox7: TcxComboBox;
    cxComboBox9: TcxComboBox;
    cxComboBox10: TcxComboBox;
    cxGrid1: TcxGrid;
    cxGridView: TcxGridDBTableView;
    cxGridViewColumn24: TcxGridDBColumn;
    cxGridViewColumn28: TcxGridDBColumn;
    cxGridViewColumn1: TcxGridDBColumn;
    cxGridViewColumn2: TcxGridDBColumn;
    cxGridViewColumn3: TcxGridDBColumn;
    cxGridViewColumn15: TcxGridDBColumn;
    cxGridViewColumn20: TcxGridDBColumn;
    cxGridViewColumn4: TcxGridDBColumn;
    cxGridViewColumn23: TcxGridDBColumn;
    cxGridViewColumn5: TcxGridDBColumn;
    cxGridViewColumn21: TcxGridDBColumn;
    cxGridViewColumn11: TcxGridDBColumn;
    cxGridViewColumn7: TcxGridDBColumn;
    cxGridViewColumn6: TcxGridDBColumn;
    cxGridViewColumn8: TcxGridDBColumn;
    cxGridViewColumn9: TcxGridDBColumn;
    cxGridViewColumn10: TcxGridDBColumn;
    cxGridViewColumn12: TcxGridDBColumn;
    cxGridViewColumn13: TcxGridDBColumn;
    cxGridViewColumn14: TcxGridDBColumn;
    cxGridViewColumn16: TcxGridDBColumn;
    cxGridViewColumn17: TcxGridDBColumn;
    cxGridViewColumn18: TcxGridDBColumn;
    cxGridViewColumn19: TcxGridDBColumn;
    cxGridViewColumn22: TcxGridDBColumn;
    cxGridViewColumn25: TcxGridDBColumn;
    cxGridViewColumn26: TcxGridDBColumn;
    cxGridViewColumn27: TcxGridDBColumn;
    cxGrid1Level1: TcxGridLevel;
    RzToolbar13: TRzToolbar;
    RzSpacer30: TRzSpacer;
    RzToolButton23: TRzToolButton;
    RzSpacer57: TRzSpacer;
    RzToolButton85: TRzToolButton;
    RzSpacer113: TRzSpacer;
    RzToolButton86: TRzToolButton;
    RzToolButton87: TRzToolButton;
    RzSpacer114: TRzSpacer;
    RzToolButton88: TRzToolButton;
    RzSpacer115: TRzSpacer;
    RzSpacer116: TRzSpacer;
    RzSpacer117: TRzSpacer;
    RzSpacer118: TRzSpacer;
    RzToolButton89: TRzToolButton;
    RzSpacer119: TRzSpacer;
    RzToolButton90: TRzToolButton;
    RzSpacer120: TRzSpacer;
    cxLabel55: TcxLabel;
    cxDateEdit39: TcxDateEdit;
    cxLabel56: TcxLabel;
    cxDateEdit40: TcxDateEdit;
    TabSheet8: TRzTabSheet;
    Panel13: TPanel;
    RzBitBtn36: TRzBitBtn;
    RzBitBtn37: TRzBitBtn;
    RzBitBtn38: TRzBitBtn;
    RzBitBtn41: TRzBitBtn;
    RzBitBtn28: TRzBitBtn;
    RzBitBtn29: TRzBitBtn;
    RzBitBtn32: TRzBitBtn;
    RzBitBtn56: TRzBitBtn;
    cxButton13: TcxButton;
    cxGrid4: TcxGrid;
    tvEngineeringQuantity: TcxGridDBTableView;
    tvEngineeringQuantityColumn13: TcxGridDBColumn;
    tvEngineeringQuantityColumn17: TcxGridDBColumn;
    tvEngineeringQuantityColumn1: TcxGridDBColumn;
    tvEngineeringQuantityColumn2: TcxGridDBColumn;
    tvEngineeringQuantityColumn3: TcxGridDBColumn;
    tvEngineeringQuantityColumn4: TcxGridDBColumn;
    tvEngineeringQuantityColumn5: TcxGridDBColumn;
    tvEngineeringQuantityColumn6: TcxGridDBColumn;
    tvEngineeringQuantityColumn7: TcxGridDBColumn;
    tvEngineeringQuantityColumn9: TcxGridDBColumn;
    tvEngineeringQuantityColumn10: TcxGridDBColumn;
    tvEngineeringQuantityColumn8: TcxGridDBColumn;
    tvEngineeringQuantityColumn11: TcxGridDBColumn;
    tvEngineeringQuantityColumn12: TcxGridDBColumn;
    tvEngineeringQuantityColumn14: TcxGridDBColumn;
    tvEngineeringQuantityColumn15: TcxGridDBColumn;
    tvEngineeringQuantityColumn16: TcxGridDBColumn;
    tvDetailedGrid: TcxGridDBTableView;
    tvDetailedGridColumn1: TcxGridDBColumn;
    tvDetailedGridColumn2: TcxGridDBColumn;
    tvDetailedGridColumn3: TcxGridDBColumn;
    tvDetailedGridColumn4: TcxGridDBColumn;
    tvDetailedGridColumn5: TcxGridDBColumn;
    tvDetailedGridColumn6: TcxGridDBColumn;
    tvDetailedGridColumn7: TcxGridDBColumn;
    tvDetailedGridColumn8: TcxGridDBColumn;
    LvQuantity: TcxGridLevel;
    LvDetailed: TcxGridLevel;
    cxGroupBox5: TcxGroupBox;
    Label32: TLabel;
    Label34: TLabel;
    Label35: TLabel;
    Label36: TLabel;
    Label37: TLabel;
    Label38: TLabel;
    Label55: TLabel;
    cxTextEdit14: TcxTextEdit;
    cxTextEdit15: TcxTextEdit;
    cxButton9: TcxButton;
    cxDateEdit9: TcxDateEdit;
    cxDateEdit10: TcxDateEdit;
    cxTextEdit16: TcxTextEdit;
    cxTextEdit17: TcxTextEdit;
    cxTextEdit4: TcxTextEdit;
    RzToolbar12: TRzToolbar;
    RzSpacer100: TRzSpacer;
    RzToolButton75: TRzToolButton;
    RzSpacer101: TRzSpacer;
    RzToolButton76: TRzToolButton;
    RzSpacer102: TRzSpacer;
    RzToolButton77: TRzToolButton;
    RzSpacer103: TRzSpacer;
    RzToolButton78: TRzToolButton;
    RzToolButton79: TRzToolButton;
    RzSpacer104: TRzSpacer;
    RzToolButton80: TRzToolButton;
    RzSpacer105: TRzSpacer;
    RzSpacer106: TRzSpacer;
    RzSpacer107: TRzSpacer;
    RzSpacer108: TRzSpacer;
    RzToolButton81: TRzToolButton;
    RzSpacer109: TRzSpacer;
    RzToolButton82: TRzToolButton;
    RzSpacer110: TRzSpacer;
    RzSpacer111: TRzSpacer;
    RzToolButton83: TRzToolButton;
    cxLabel50: TcxLabel;
    cxDateEdit37: TcxDateEdit;
    cxLabel51: TcxLabel;
    cxDateEdit38: TcxDateEdit;
    TabSheet9: TRzTabSheet;
    cxGroupBox3: TcxGroupBox;
    Label14: TLabel;
    Label16: TLabel;
    Label17: TLabel;
    Label27: TLabel;
    Label28: TLabel;
    Label56: TLabel;
    cxTextEdit10: TcxTextEdit;
    cxButton6: TcxButton;
    cxDateEdit5: TcxDateEdit;
    cxDateEdit6: TcxDateEdit;
    cxTextEdit13: TcxTextEdit;
    cxComboBox2: TcxComboBox;
    cxTextEdit19: TcxTextEdit;
    cxGrid2: TcxGrid;
    tvMechanicsGrid: TcxGridDBTableView;
    tvMechanicsGridColumn1: TcxGridDBColumn;
    tvMechanicsGridColumn5: TcxGridDBColumn;
    ColMechanicsGrid1: TcxGridDBColumn;
    ColMechanicsGrid2: TcxGridDBColumn;
    ColMechanicsGrid3: TcxGridDBColumn;
    ColMechanicsGrid4: TcxGridDBColumn;
    ColMechanicsGrid5: TcxGridDBColumn;
    ColMechanicsGrid12: TcxGridDBColumn;
    ColMechanicsGrid13: TcxGridDBColumn;
    ColMechanicsGrid6: TcxGridDBColumn;
    ColMechanicsGrid14: TcxGridDBColumn;
    ColMechanicsGrid15: TcxGridDBColumn;
    ColMechanicsGrid7: TcxGridDBColumn;
    ColMechanicsGrid8: TcxGridDBColumn;
    ColMechanicsGrid9: TcxGridDBColumn;
    ColMechanicsGrid10: TcxGridDBColumn;
    ColMechanicsGrid11: TcxGridDBColumn;
    tvMechanicsGridColumn2: TcxGridDBColumn;
    tvMechanicsGridColumn3: TcxGridDBColumn;
    tvMechanicsGridColumn4: TcxGridDBColumn;
    cxGridLevel1: TcxGridLevel;
    RzPanel27: TRzPanel;
    Label45: TLabel;
    Label46: TLabel;
    Label47: TLabel;
    Label48: TLabel;
    Label49: TLabel;
    Label50: TLabel;
    Label51: TLabel;
    Label52: TLabel;
    Label53: TLabel;
    cxDateEdit13: TcxDateEdit;
    cxDateEdit14: TcxDateEdit;
    cxButton16: TcxButton;
    cxCurrencyEdit2: TcxCurrencyEdit;
    RzToolbar11: TRzToolbar;
    RzSpacer88: TRzSpacer;
    RzToolButton66: TRzToolButton;
    RzSpacer89: TRzSpacer;
    RzToolButton67: TRzToolButton;
    RzSpacer90: TRzSpacer;
    RzToolButton68: TRzToolButton;
    RzSpacer91: TRzSpacer;
    RzToolButton69: TRzToolButton;
    RzToolButton70: TRzToolButton;
    RzSpacer92: TRzSpacer;
    RzToolButton71: TRzToolButton;
    RzSpacer93: TRzSpacer;
    RzSpacer94: TRzSpacer;
    RzSpacer95: TRzSpacer;
    RzSpacer96: TRzSpacer;
    RzToolButton72: TRzToolButton;
    RzSpacer97: TRzSpacer;
    RzToolButton73: TRzToolButton;
    RzSpacer98: TRzSpacer;
    RzSpacer99: TRzSpacer;
    RzToolButton74: TRzToolButton;
    cxLabel48: TcxLabel;
    cxDateEdit35: TcxDateEdit;
    cxLabel49: TcxLabel;
    cxDateEdit36: TcxDateEdit;
    TabSheet10: TRzTabSheet;
    FlowingAccountGrid: TcxGrid;
    tvFlowingAccount: TcxGridDBTableView;
    tvFlowingAccountColumn14: TcxGridDBColumn;
    tvFlowingAccountColumn1: TcxGridDBColumn;
    tvFlowingAccountColumn2: TcxGridDBColumn;
    tvFlowingAccountColumn3: TcxGridDBColumn;
    tvFlowingAccountColumn4: TcxGridDBColumn;
    tvFlowingAccountColumn5: TcxGridDBColumn;
    tvFlowingAccountColumn6: TcxGridDBColumn;
    tvFlowingAccountColumn7: TcxGridDBColumn;
    tvFlowingAccountColumn8: TcxGridDBColumn;
    tvFlowingAccountColumn9: TcxGridDBColumn;
    tvFlowingAccountColumn10: TcxGridDBColumn;
    tvFlowingAccountColumn11: TcxGridDBColumn;
    tvFlowingAccountColumn13: TcxGridDBColumn;
    tvFlowingAccountColumn12: TcxGridDBColumn;
    tvFlowingAccountColumn15: TcxGridDBColumn;
    tvFlowingAccountColumn16: TcxGridDBColumn;
    tvFlowingAccountColumn17: TcxGridDBColumn;
    lvFlowing1: TcxGridLevel;
    cxGroupBox4: TcxGroupBox;
    Label13: TLabel;
    Label18: TLabel;
    Label29: TLabel;
    Label30: TLabel;
    Label31: TLabel;
    Label57: TLabel;
    Label58: TLabel;
    cxTextEdit9: TcxTextEdit;
    cxTextEdit12: TcxTextEdit;
    cxButton7: TcxButton;
    cxDateEdit7: TcxDateEdit;
    cxDateEdit8: TcxDateEdit;
    cxComboBox8: TcxComboBox;
    cxTextEdit20: TcxTextEdit;
    cxTextEdit21: TcxTextEdit;
    RzToolbar10: TRzToolbar;
    RzSpacer77: TRzSpacer;
    RzToolButton58: TRzToolButton;
    RzSpacer78: TRzSpacer;
    RzToolButton59: TRzToolButton;
    RzSpacer79: TRzSpacer;
    RzToolButton60: TRzToolButton;
    RzSpacer80: TRzSpacer;
    RzToolButton61: TRzToolButton;
    RzToolButton62: TRzToolButton;
    RzSpacer81: TRzSpacer;
    RzToolButton63: TRzToolButton;
    RzSpacer82: TRzSpacer;
    RzSpacer83: TRzSpacer;
    RzSpacer84: TRzSpacer;
    RzSpacer85: TRzSpacer;
    RzToolButton64: TRzToolButton;
    RzSpacer86: TRzSpacer;
    RzToolButton65: TRzToolButton;
    RzSpacer87: TRzSpacer;
    cxLabel46: TcxLabel;
    cxDateEdit33: TcxDateEdit;
    cxLabel47: TcxLabel;
    cxDateEdit34: TcxDateEdit;
    TabSheet13: TRzTabSheet;
    cxGroupBox10: TcxGroupBox;
    Label66: TLabel;
    Label67: TLabel;
    Label68: TLabel;
    Label69: TLabel;
    Label70: TLabel;
    Label71: TLabel;
    Label78: TLabel;
    cxTextEdit26: TcxTextEdit;
    cxButton29: TcxButton;
    cxDateEdit19: TcxDateEdit;
    cxDateEdit20: TcxDateEdit;
    cxTextEdit27: TcxTextEdit;
    cxTextEdit28: TcxTextEdit;
    cxTextEdit29: TcxTextEdit;
    cxTextEdit35: TcxTextEdit;
    SanctionGrid: TcxGrid;
    tvSanctionView: TcxGridDBTableView;
    tvSanctionView1: TcxGridDBColumn;
    tvSanctionViewColumn3: TcxGridDBColumn;
    tvSanctionView2: TcxGridDBColumn;
    tvSanctionView3: TcxGridDBColumn;
    tvSanctionView4: TcxGridDBColumn;
    tvSanctionView5: TcxGridDBColumn;
    tvSanctionView6: TcxGridDBColumn;
    tvSanctionView7: TcxGridDBColumn;
    tvSanctionView8: TcxGridDBColumn;
    tvSanctionView9: TcxGridDBColumn;
    tvSanctionViewColumn1: TcxGridDBColumn;
    tvSanctionView10: TcxGridDBColumn;
    tvSanctionView11: TcxGridDBColumn;
    tvSanctionView12: TcxGridDBColumn;
    tvSanctionView13: TcxGridDBColumn;
    tvSanctionView14: TcxGridDBColumn;
    tvSanctionViewColumn2: TcxGridDBColumn;
    Lv1: TcxGridLevel;
    RzToolbar3: TRzToolbar;
    RzSpacer13: TRzSpacer;
    RzToolButton8: TRzToolButton;
    RzSpacer14: TRzSpacer;
    RzToolButton9: TRzToolButton;
    RzSpacer15: TRzSpacer;
    RzToolButton10: TRzToolButton;
    RzSpacer16: TRzSpacer;
    RzToolButton11: TRzToolButton;
    RzToolButton12: TRzToolButton;
    RzSpacer17: TRzSpacer;
    btnClose: TRzToolButton;
    RzSpacer18: TRzSpacer;
    RzSpacer19: TRzSpacer;
    RzSpacer31: TRzSpacer;
    RzSpacer32: TRzSpacer;
    RzToolButton24: TRzToolButton;
    cxLabel17: TcxLabel;
    cxDateEdit15: TcxDateEdit;
    cxLabel37: TcxLabel;
    cxDateEdit16: TcxDateEdit;
    TabSheet14: TRzTabSheet;
    cxGroupBox11: TcxGroupBox;
    Label72: TLabel;
    Label73: TLabel;
    Label74: TLabel;
    Label75: TLabel;
    Label76: TLabel;
    Label77: TLabel;
    cxTextEdit30: TcxTextEdit;
    cxButton31: TcxButton;
    cxDateEdit21: TcxDateEdit;
    cxDateEdit22: TcxDateEdit;
    cxTextEdit32: TcxTextEdit;
    cxTextEdit33: TcxTextEdit;
    cxTextEdit34: TcxTextEdit;
    LeaseGrid: TcxGrid;
    tvLeaseView: TcxGridDBTableView;
    tvLeaseCol1: TcxGridDBColumn;
    tvLeaseViewColumn2: TcxGridDBColumn;
    tvLeaseCol2: TcxGridDBColumn;
    tvLeaseCol3: TcxGridDBColumn;
    tvLeaseCol4: TcxGridDBColumn;
    tvLeaseCol5: TcxGridDBColumn;
    tvLeaseCol6: TcxGridDBColumn;
    tvLeaseCol7: TcxGridDBColumn;
    tvLeaseCol8: TcxGridDBColumn;
    tvLeaseCol9: TcxGridDBColumn;
    tvLeaseCol10: TcxGridDBColumn;
    tvLeaseCol11: TcxGridDBColumn;
    tvLeaseCol12: TcxGridDBColumn;
    tvLeaseCol13: TcxGridDBColumn;
    tvLeaseCol14: TcxGridDBColumn;
    tvLeaseCol15: TcxGridDBColumn;
    tvLeaseCol16: TcxGridDBColumn;
    tvLeaseCol17: TcxGridDBColumn;
    tvLeaseCol18: TcxGridDBColumn;
    tvLeaseCol19: TcxGridDBColumn;
    tvLeaseCol20: TcxGridDBColumn;
    tvLeaseCol21: TcxGridDBColumn;
    tvLeaseViewColumn1: TcxGridDBColumn;
    LvLease: TcxGridLevel;
    RzToolbar4: TRzToolbar;
    RzSpacer20: TRzSpacer;
    RzToolButton14: TRzToolButton;
    RzSpacer21: TRzSpacer;
    RzToolButton15: TRzToolButton;
    RzSpacer22: TRzSpacer;
    RzToolButton16: TRzToolButton;
    RzSpacer23: TRzSpacer;
    RzToolButton17: TRzToolButton;
    RzToolButton18: TRzToolButton;
    RzToolButton19: TRzToolButton;
    RzSpacer25: TRzSpacer;
    RzSpacer26: TRzSpacer;
    RzToolButton25: TRzToolButton;
    RzSpacer33: TRzSpacer;
    RzSpacer49: TRzSpacer;
    cxLabel38: TcxLabel;
    cxDateEdit25: TcxDateEdit;
    cxLabel39: TcxLabel;
    cxDateEdit26: TcxDateEdit;
    TabSheet15: TRzTabSheet;
    TabSheet16: TRzTabSheet;
    PactInfoGrid: TcxGrid;
    tvPactView: TcxGridDBTableView;
    tvPactViewCol1: TcxGridDBColumn;
    tvPactViewCol2: TcxGridDBColumn;
    tvPactViewCol3: TcxGridDBColumn;
    tvPactViewCol4: TcxGridDBColumn;
    tvPactViewCol5: TcxGridDBColumn;
    tvPactViewCol6: TcxGridDBColumn;
    tvPactViewCol7: TcxGridDBColumn;
    tvPactViewCol8: TcxGridDBColumn;
    tvPactViewCol9: TcxGridDBColumn;
    tvPactViewCol10: TcxGridDBColumn;
    tvPactViewCol11: TcxGridDBColumn;
    tvPactViewCol12: TcxGridDBColumn;
    tvPactViewCol13: TcxGridDBColumn;
    tvPactViewCol14: TcxGridDBColumn;
    tvPactViewCol15: TcxGridDBColumn;
    tvPactViewCol16: TcxGridDBColumn;
    tvPactViewColumn1: TcxGridDBColumn;
    LvPact: TcxGridLevel;
    cxGroupBox9: TcxGroupBox;
    Label60: TLabel;
    Label61: TLabel;
    Label62: TLabel;
    Label63: TLabel;
    Label64: TLabel;
    Label65: TLabel;
    cxTextEdit22: TcxTextEdit;
    cxButton27: TcxButton;
    cxDateEdit17: TcxDateEdit;
    cxDateEdit18: TcxDateEdit;
    cxTextEdit23: TcxTextEdit;
    cxTextEdit25: TcxTextEdit;
    cxTextEdit24: TcxTextEdit;
    RzToolbar6: TRzToolbar;
    RzSpacer24: TRzSpacer;
    RzToolButton13: TRzToolButton;
    RzSpacer34: TRzSpacer;
    RzToolButton26: TRzToolButton;
    RzSpacer35: TRzSpacer;
    RzToolButton27: TRzToolButton;
    RzSpacer36: TRzSpacer;
    RzToolButton28: TRzToolButton;
    RzToolButton29: TRzToolButton;
    RzToolButton30: TRzToolButton;
    RzSpacer37: TRzSpacer;
    RzSpacer38: TRzSpacer;
    RzToolButton31: TRzToolButton;
    RzSpacer39: TRzSpacer;
    RzSpacer47: TRzSpacer;
    RzSpacer48: TRzSpacer;
    cxLabel40: TcxLabel;
    cxDateEdit27: TcxDateEdit;
    cxLabel41: TcxLabel;
    cxDateEdit28: TcxDateEdit;
    TabSheet11: TRzTabSheet;
    cxGroupBox6: TcxGroupBox;
    cxLabel1: TcxLabel;
    cxLabel2: TcxLabel;
    cxLabel3: TcxLabel;
    cxLabel4: TcxLabel;
    cxLabel5: TcxLabel;
    cxLabel6: TcxLabel;
    cxLabel7: TcxLabel;
    cxLabel8: TcxLabel;
    cxLabel10: TcxLabel;
    cxDBTextEdit1: TcxDBTextEdit;
    cxDBTextEdit2: TcxDBTextEdit;
    cxDBTextEdit3: TcxDBTextEdit;
    cxDBTextEdit4: TcxDBTextEdit;
    cxDBTextEdit5: TcxDBTextEdit;
    cxDBTextEdit6: TcxDBTextEdit;
    cxDBTextEdit7: TcxDBTextEdit;
    cxLabel9: TcxLabel;
    cxButton22: TcxButton;
    cxButton20: TcxButton;
    cxButton25: TcxButton;
    cxDBCurrencyEdit1: TcxDBCurrencyEdit;
    cxDBDateEdit1: TcxDBDateEdit;
    cxDBDateEdit2: TcxDBDateEdit;
    cxGroupBox7: TcxGroupBox;
    cxLabel12: TcxLabel;
    cxLabel13: TcxLabel;
    cxLabel14: TcxLabel;
    cxLabel11: TcxLabel;
    cxLabel15: TcxLabel;
    cxLabel16: TcxLabel;
    cxButton17: TcxButton;
    cxButton18: TcxButton;
    cxButton19: TcxButton;
    cxDBTextEdit9: TcxDBTextEdit;
    cxDBTextEdit10: TcxDBTextEdit;
    cxDBTextEdit8: TcxDBTextEdit;
    cxDBTextEdit11: TcxDBTextEdit;
    cxDBTextEdit12: TcxDBTextEdit;
    cxDBTextEdit13: TcxDBTextEdit;
    cxLabel54: TcxLabel;
    cxDBTextEdit26: TcxDBTextEdit;
    cxGroupBox8: TcxGroupBox;
    cxLabel20: TcxLabel;
    cxLabel21: TcxLabel;
    cxLabel22: TcxLabel;
    cxLabel23: TcxLabel;
    cxLabel24: TcxLabel;
    cxLabel25: TcxLabel;
    cxLabel26: TcxLabel;
    cxLabel27: TcxLabel;
    cxLabel28: TcxLabel;
    cxLabel29: TcxLabel;
    cxLabel30: TcxLabel;
    cxLabel31: TcxLabel;
    cxDBTextEdit14: TcxDBTextEdit;
    cxDBTextEdit15: TcxDBTextEdit;
    cxDBTextEdit16: TcxDBTextEdit;
    cxDBTextEdit17: TcxDBTextEdit;
    cxDBTextEdit18: TcxDBTextEdit;
    cxDBTextEdit19: TcxDBTextEdit;
    cxDBTextEdit20: TcxDBTextEdit;
    cxDBTextEdit21: TcxDBTextEdit;
    cxDBTextEdit22: TcxDBTextEdit;
    cxDBTextEdit23: TcxDBTextEdit;
    cxDBTextEdit24: TcxDBTextEdit;
    cxDBTextEdit25: TcxDBTextEdit;
    cxLabel52: TcxLabel;
    cxLabel53: TcxLabel;
    cxDBTextEdit27: TcxDBTextEdit;
    cxDBTextEdit28: TcxDBTextEdit;
    RzToolbar8: TRzToolbar;
    RzSpacer53: TRzSpacer;
    RzToolButton39: TRzToolButton;
    RzSpacer54: TRzSpacer;
    RzToolButton43: TRzToolButton;
    RzToolButton44: TRzToolButton;
    RzSpacer59: TRzSpacer;
    RzSpacer56: TRzSpacer;
    RzToolButton40: TRzToolButton;
    RzSpacer55: TRzSpacer;
    RzToolButton42: TRzToolButton;
    RzSpacer58: TRzSpacer;
    RzToolButton45: TRzToolButton;
    RzSpacer60: TRzSpacer;
    RzToolButton46: TRzToolButton;
    RzSpacer61: TRzSpacer;
    RzToolButton47: TRzToolButton;
    RzSpacer62: TRzSpacer;
    RzToolButton48: TRzToolButton;
    RzSpacer63: TRzSpacer;
    RzToolButton41: TRzToolButton;
    TabSheet12: TRzTabSheet;
    RzPanel37: TRzPanel;
    RzToolbar2: TRzToolbar;
    RzSpacer5: TRzSpacer;
    RzToolButton1: TRzToolButton;
    RzSpacer6: TRzSpacer;
    RzToolButton2: TRzToolButton;
    RzSpacer7: TRzSpacer;
    RzToolButton3: TRzToolButton;
    RzSpacer8: TRzSpacer;
    RzToolButton4: TRzToolButton;
    RzSpacer9: TRzSpacer;
    RzToolButton5: TRzToolButton;
    RzSpacer10: TRzSpacer;
    RzToolButton6: TRzToolButton;
    RzSpacer11: TRzSpacer;
    RzToolButton7: TRzToolButton;
    RzSpacer12: TRzSpacer;
    cxLabel36: TcxLabel;
    cxLabel18: TcxLabel;
    cxComboBox11: TcxComboBox;
    cxLabel19: TcxLabel;
    cxComboBox12: TcxComboBox;
    cxLabel32: TcxLabel;
    cxLabel33: TcxLabel;
    cxSpinEdit2: TcxSpinEdit;
    cxLabel34: TcxLabel;
    cxSpinEdit1: TcxSpinEdit;
    cxGroupBox13: TcxGroupBox;
    cxLabel35: TcxLabel;
    cxTextEdit37: TcxTextEdit;
    tv1: TTreeView;
    TabSheet31: TRzTabSheet;
    AllocateBankrollGrid: TcxGrid;
    tvABView: TcxGridDBTableView;
    tvABViewColumn1: TcxGridDBColumn;
    tvABViewColumn2: TcxGridDBColumn;
    tvABViewColumn3: TcxGridDBColumn;
    tvABViewColumn4: TcxGridDBColumn;
    tvABViewColumn5: TcxGridDBColumn;
    tvABViewColumn6: TcxGridDBColumn;
    tvABViewColumn7: TcxGridDBColumn;
    tvABViewColumn8: TcxGridDBColumn;
    tvABViewColumn10: TcxGridDBColumn;
    tvABViewColumn9: TcxGridDBColumn;
    tvABViewColumn13: TcxGridDBColumn;
    tvABViewColumn14: TcxGridDBColumn;
    tvABViewColumn15: TcxGridDBColumn;
    tvABViewColumn11: TcxGridDBColumn;
    tvABViewColumn12: TcxGridDBColumn;
    tvABViewColumn16: TcxGridDBColumn;
    ABLv: TcxGridLevel;
    RzToolbar7: TRzToolbar;
    RzSpacer40: TRzSpacer;
    RzToolButton32: TRzToolButton;
    RzSpacer41: TRzSpacer;
    RzToolButton33: TRzToolButton;
    RzSpacer42: TRzSpacer;
    RzToolButton34: TRzToolButton;
    RzSpacer43: TRzSpacer;
    RzToolButton35: TRzToolButton;
    RzToolButton36: TRzToolButton;
    RzToolButton37: TRzToolButton;
    RzSpacer44: TRzSpacer;
    RzSpacer45: TRzSpacer;
    RzToolButton38: TRzToolButton;
    RzSpacer46: TRzSpacer;
    RzSpacer50: TRzSpacer;
    RzSpacer51: TRzSpacer;
    RzSpacer52: TRzSpacer;
    cxLabel42: TcxLabel;
    cxDateEdit29: TcxDateEdit;
    cxLabel43: TcxLabel;
    cxDateEdit30: TcxDateEdit;
    RzPageControl3: TRzPageControl;
    TabSheet28: TRzTabSheet;
    TabSheet33: TRzTabSheet;
    TabSheet25: TRzTabSheet;
    TabSheet32: TRzTabSheet;
    TabSheet34: TRzTabSheet;
    TabSheet29: TRzTabSheet;
    TabSheet17: TRzTabSheet;
    TabSheet18: TRzTabSheet;
    TabSheet19: TRzTabSheet;
    TabSheet24: TRzTabSheet;
    TabSheet20: TRzTabSheet;
    TabSheet21: TRzTabSheet;
    TabSheet22: TRzTabSheet;
    TabSheet23: TRzTabSheet;
    TabSheet26: TRzTabSheet;
    TabSheet27: TRzTabSheet;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmBuild: TfrmBuild;

implementation

{$R *.dfm}

procedure TfrmBuild.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  Action := caFree;
end;

end.
